package com.generalbackend.common.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tim.xie
 * @date 2021/11/29 17:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Response<T> {
    /***
     * 消息码
     */
    private int code;
    /**
     * 错误信息
     */
    private String message;
    /**
     * 返回数据
     */
    private T data;
}
